package com.link.base.wechat.mpnews.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * 微信公众号图文素材对象类
 *
 * @author lujiang
 * @date 2019/02/25 17:00
 */
public class Article extends BasicModel {
    /**
     * 标题
     */
    private String title;
    /**
     *图片素材id
     */
    private String thumbMediaId;

    /**
     *图片素材id
     */
    private Long thumbMediaIdCopy;
    /**
     *作者
     */
    private String author;
    /**
     *摘要
     */
    private String digest;
    /**
     *具体内容
     */
    private String content;
    /**
     *原文地址
     */
    private String contentSourceUrl;
    /**
     *是否打开原文
     */
    private String needSource;
    /**
     *是否打开留言
     */
    private int needOpenComment;
    /**
     *留言
     */
    private String comment;
    /**
     *图片链接
     */
    private String url;
    /**
     *组别
     */
    private String groupId;
    /**
     *对应微信
     */
    private Long wxId;
    /**
     *是否成功
     */
    private String successFlag;
    /**
     *图文素材id
     */
    private String mediaId;
    /**
     *同步时间
     */
    private String creDate;
    /**
     *同步反馈
     */
    private String result;

    /**
     * openids
     * @return
     */
    private List<String> openids;
    /**
     * 图文url
     */
    private String articlesUrl;
    /**
     * 是否显示封面，0为false，即不显示，1为true，即显示
     */
    private int showCoverPic;
    /**
     * Uint32 是否粉丝才可评论，0所有人可评论，1粉丝才可评论
     */
    private int onlyFansCanComment;
    /**
     * 第几篇图文
     */
    private int index;
    /**
     * 公众号id集合
     */
    private List<Long> wxIds;
    private int mediaIndex;
    /**
     * 小程序或公众号appId
     */
    private String appId;
    /**
     * 小程序或公众号appId
     */
    private List<String> appIds;
    /*是否删除*/
    private String deleteFlag;

    public Long getThumbMediaIdCopy() {
        return thumbMediaIdCopy;
    }

    public void setThumbMediaIdCopy(Long thumbMediaIdCopy) {
        this.thumbMediaIdCopy = thumbMediaIdCopy;
    }

    public List<String> getAppIds() {
        return appIds;
    }

    public void setAppIds(List<String> appIds) {
        this.appIds = appIds;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getShowCoverPic() {
        return showCoverPic;
    }

    public void setShowCoverPic(int showCoverPic) {
        this.showCoverPic = showCoverPic;
    }

    public String getArticlesUrl() {
        return articlesUrl;
    }

    public void setArticlesUrl(String articlesUrl) {
        this.articlesUrl = articlesUrl;
    }

    public List<String> getOpenids() {
        return openids;
    }

    public void setOpenids(List<String> openids) {
        this.openids = openids;
    }

    public String getCreDate() {
        return creDate;
    }

    public void setCreDate(String creDate) {
        this.creDate = creDate;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getThumbMediaId() {
        return thumbMediaId;
    }

    public void setThumbMediaId(String thumbMediaId) {
        this.thumbMediaId = thumbMediaId;
    }

    public String getContentSourceUrl() {
        return contentSourceUrl;
    }

    public void setContentSourceUrl(String contentSourceUrl) {
        this.contentSourceUrl = contentSourceUrl;
    }

    public String getNeedSource() {
        return needSource;
    }

    public void setNeedSource(String needSource) {
        this.needSource = needSource;
    }

    public int getNeedOpenComment() {
        return needOpenComment;
    }

    public void setNeedOpenComment(int needOpenComment) {
        this.needOpenComment = needOpenComment;
    }

    public int getOnlyFansCanComment() {
        return onlyFansCanComment;
    }

    public void setOnlyFansCanComment(int onlyFansCanComment) {
        this.onlyFansCanComment = onlyFansCanComment;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public Long getWxId() {
        return wxId;
    }

    public void setWxId(Long wxId) {
        this.wxId = wxId;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<Long> getWxIds() {
        return wxIds;
    }

    public void setWxIds(List<Long> wxIds) {
        this.wxIds = wxIds;
    }

    public int getMediaIndex() {
        return mediaIndex;
    }

    public void setMediaIndex(int mediaIndex) {
        this.mediaIndex = mediaIndex;
    }

    public String getSuccessFlag() {
        return successFlag;
    }

    public void setSuccessFlag(String successFlag) {
        this.successFlag = successFlag;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}
